import turtle
from math import sin

turtle.shape('turtle')

N = 3
a = 0
long = 15
R = 0

while True:

    a = 360/N

    R = long/(2*sin(360/(2*N)))

    if R < 0:
        R = -R

    #turtle.penup()
    turtle.goto(0, 0)
    turtle.forward(R)
    #turtle.pendown()


    print(R)
    
    for i in range(N):
        turtle.left(a)
        turtle.forward(R)

    

    N += 1
    long += 5
